/*
 * File: exercise1.cpp
 * -------------------
 * Conversion formula is : F = 9/5 * C + 32
 * compile command :
 * g++ -Wall -g exercise1.cpp -o exercise1 -lStanfordCPPLib -I ../include/
 */

#include <iostream>
#include "simpio.h"
using namespace std;

int main()
{
	double CelsiusTemper;
	double FahrenheitTemper;
	CelsiusTemper = getReal("Enter a temperature in degrees Celsius: ");
	FahrenheitTemper = (9.0 / 5.0) * CelsiusTemper + 32 ;
	cout<<"Fahrenheit temperature is "<<FahrenheitTemper<<endl;
	return 0;
}
